<template>
  <div class="count">
    <h2>我是count组件</h2>
  </div>
</template>

<script>
export default {
  name: "Count",
  props:["count"],
  data() {
    return {
    };
  },

  beforeCreate() {
    console.log("***beforeCreate");
  },

  created() {
    console.log("***created");
  },

  beforeMount() {
    console.log(("***beforeMount"));
  },

  mounted() {
    console.log("***mounted");
  },

  beforeUpdate() {
    console.log("***beforeUpdate");
  },
};
</script>

<style scoped>
.count {
  background-color: pink;
}
</style>
